<?php
Route::middleware('auth:api')->prefix('v1')->group(function () {
    Route::post('create-inspect-setting', 'DeviceInspectorController@createInspectSettings');
    Route::post('update-inspect-setting', 'DeviceInspectorController@updateInspectSettings');
    Route::get('get-inspect-setting', 'DeviceInspectorController@getInspectSettings');
    // 维护工单
    Route::post('create-device-inspect-order', 'DeviceInspectOrderController@store');
    Route::get('get-device-detail-with-type/id/{id}', 'DeviceInspectOrderController@getDeviceDetail');
    Route::get('get-inspect-order/device-id/{deviceId}', 'DeviceInspectOrderController@index');
});
